package cn.founder.basic.constant;

/**
 * 此类用于拼接验证码 发送的前缀
 */
public class BaseConstant {

    //注册前缀                                            这里的冒号用于后面分割  查询等使用
    public static final String BUSINESS_TYPE_REGISTER = "business_type_register:";
    //登录前缀
    public static final String BUSINESS_TYPE_LOGIN = "business_type_login:";
    //绑定前缀
    public static final String BUSINESS_TYPE_BINDER = "business_type_binder:";

    //微信登录字段
    public static final String APPID = "wxd853562a0548a7d0";
    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";

    public static final String GET_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
    //获取token发送HTTP请求的网址
    public static final String GET_USER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
}
